const { Controller } = require('egg');

class TestController extends Controller{
    async index(){
        const {ctx,app} = this;
        ctx.body = {
            code: '200',
            msg: 'success',
            data: '这是一个测试'
        }
    }
}

module.exports = TestController;